package com.hu.zhcc.shiro.service.xsx;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hu.zhcc.shiro.dao.xsx.TMubanYinshiMapper;
import com.hu.zhcc.shiro.entity.xsx.XsxTMubanYinshi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xsx
 * @since 2021-06-22
 */
@Service
public class TMubanYinshiServiceImpl extends ServiceImpl<TMubanYinshiMapper, XsxTMubanYinshi> implements TMubanYinshiService {
    @Autowired
    TMubanYinshiMapper tMubanYinshiMapper;

    @Override
    public int addOne(XsxTMubanYinshi tMubanYinshi) {
        return tMubanYinshiMapper.addOne(tMubanYinshi);
    }

    @Override
    public List<XsxTMubanYinshi> queryCheckId(int id) {
        return tMubanYinshiMapper.queryCheckId(id);
    }

    @Override
    public int deleteByMbid(int id) {
        return tMubanYinshiMapper.deleteByMbid(id);
    }
}
